Repository navigation
[Cloud] az cloud show: Add missing synapseAnalyticsResourceId for AzureBleuCloud - #34188
Yeming Liu (isra-fel) merged 2 commits into
Conversation
AzureBleuCloud defined synapse_analytics_endpoint (.dev.azuresynapse.sovcloud-api.fr) but was missing its paired synapse_analytics_resource_id, so 'az cloud show --name AzureBleuCloud' returned synapseAnalyticsResourceId: null. Every other cloud pairs the two values (https://dev.azuresynapse.<suffix> and .dev.azuresynapse.<suffix>); apply the same pattern for Bleu. Fixes Azure#34059 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7707d164-8d38-41f6-9884-04c670e74640
There was a problem hiding this comment.
🟡 Changes recommended
A focused regression test is needed to prevent the Bleu resource ID from silently returning to null.
1 open finding
What changed in this PR
Adds the missing Synapse authentication resource ID for Azure Bleu Cloud.
Changes:
- Configures the Bleu Synapse resource ID.
- Documents the fix in release history.
| File | Description |
|---|---|
src/azure-cli-core/azure/cli/core/cloud.py |
Adds the Bleu Synapse resource ID. |
src/azure-cli-core/HISTORY.rst |
Records the cloud metadata fix. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
|
Add missing synapseAnalyticsResourceId for AzureBleuCloud |
X Engineering Agent ReportReview — Comments Upstream CI passed for this head. The one-line Bleu endpoint addition matches the existing Synapse suffix and the other cloud definitions, but the reported Regression findingConfirmed Copilot reviewer feedback: Other metadata gaps in #34059 are explicitly outside this PR's scope and remain subject to service-owner availability decisions. The new sovereign-cloud audience's acceptance by the service was not independently verified. Test validation
The automated module-only coverage detector reports non-applicability for CLI core; that is not evidence that this user-visible core regression is covered. Focused regression coverage is requested before merge. Risk assessment — 1/100 · Low · Low confidenceThe Low rating reflects the detected change scope with no elevated security, reliability, customer, operational, dependency, sovereign-cloud, generated-output, or cross-component signal.
Posted by x-engineering-agent (Reviewer) |

🤖 PR Validation — ️✔️ All clear
Related command
az cloud show --name AzureBleuCloudDescription
Fixes #34059.
AzureBleuClouddefinedsynapse_analytics_endpoint(.dev.azuresynapse.sovcloud-api.fr) but was missing its pairedsynapse_analytics_resource_id. As a result,az cloud show --name AzureBleuCloudreturned"synapseAnalyticsResourceId": nulleven though Synapse is available in Bleu.Every other known cloud pairs the two values consistently:
synapse_analytics_resource_idsynapse_analytics_endpointhttps://dev.azuresynapse.net.dev.azuresynapse.nethttps://dev.azuresynapse.azure.cn.dev.azuresynapse.azure.cnhttps://dev.azuresynapse.usgovcloudapi.net.dev.azuresynapse.usgovcloudapi.net.dev.azuresynapse.sovcloud-api.frhttps://dev.azuresynapse.sovcloud-api.fr.dev.azuresynapse.sovcloud-api.frThis PR adds
synapse_analytics_resource_id='https://dev.azuresynapse.sovcloud-api.fr'to the Bleu cloud definition, following the established pattern.Scope note: #34059 lists several other properties (Data Lake, App Insights, Attestation, Log Analytics, etc.) that are unset for Bleu. As the reporter notes, those fall into "never/only-public/only-public+national" buckets and require a per-RP availability decision, so they are intentionally left out of this focused fix. The Synapse one is an unambiguous bug because its suffix counterpart is already present.
The broader sovereign-cloud onboarding (Delos + GovSG) tracked in #34129 is not included here: the authoritative endpoints table currently publishes only placeholder values ("replace fr suffix with de") for several required Delos/GovSG endpoints, so those clouds cannot yet be added with verified values.
Testing Guide
Unit tests:
azdev test --src-file src/azure-cli-core/azure/cli/core/tests/test_cloud.py(14 passed, 1 skipped).History Notes
[Cloud]
az cloud show: Add missingsynapseAnalyticsResourceIdforAzureBleuCloudThis checklist is used to make sure that common guidelines for a pull request are followed.